<@pp.dropOutputFile/>
<#include "../common/util.ftl">

<#-- generate package name -->

<#-- iterate table list-->
<#list doc.tables as table>
<#assign module = doc.artifactid?replace(".", "/") + "/" + table.moduleid?uncap_first>
<#assign fileName = table.name?cap_first>
<#assign data_url = "/" + module + "/" + fileName + "/">
<@pp.changeOutputFile name="/main/webapp/" + module + "/" + fileName + "/showitems.ftl"/>
<#noparse>
<#compress>
<!DOCTYPE html>
<html>
<head>
<title></#noparse>${fileName}<#noparse> test!</title>
<#assign base="${request.getContextPath()}">
<#include "/common/import_m_easyui_css.ftl">
<#include "/common/import_m_easyui_js.ftl">
<script type="text/javascript"><#include "showitems_js.ftl"></script>
</head>

<body>
	<table id="dataTable"></table>
	
	<#-- Ribbon样式-->
	<div id="toolbar" class="easyui-ribbon">
		<div title="</#noparse><#if table.comment?exists>${table.comment}</#if><#noparse>数据管理">
	<form id="search_form">
			<div class="ribbon-group">
				<div class="ribbon-toolbar">
					<a id="btn_add" href="#" class="easyui-linkbutton" data-options="name:'add',iconCls:'icon-add',plain:true">新增</a><br>
					<a id="btn_save" href="#" class="easyui-linkbutton" data-options="name:'save',iconCls:'icon-save',plain:true">保存</a><br>
					<a id="btn_delete" href="#" class="easyui-linkbutton" data-options="name:'remove',iconCls:'icon-remove',plain:true">删除</a>
				</div>
				<div class="ribbon-toolbar">
					<a id="btn_copy" href="#" class="easyui-linkbutton" data-options="name:'copy',iconCls:'icon-copy',plain:true">复制</a><br>
					<a id="btn_copy" href="#" class="easyui-linkbutton" data-options="name:'undo',iconCls:'icon-undo',plain:true">撤销</a>
				</div>
				<div class="ribbon-group-title">编辑</div>
			</div>
			<div class="ribbon-group-sep"></div>
			<div class="ribbon-group">
				<div class="ribbon-toolbar">
					<span>开始:</span><input id="start" name="start", type="text" class="easyui-datebox"><br>
					<span>结束:</span><input id="end" name="end", type="text" class="easyui-datebox"><br>
					<a id="btn_search" href="#" class="easyui-linkbutton" data-options="name:'find',iconCls:'icon-find',plain:true">查询</a>
				</div>
				<#--
				<div class="ribbon-toolbar">
					<span>ID:</span><input id="id" name="id", type="text" class="easyui-datebox"><br>
				</div>
				-->
				<div class="ribbon-group-title">检索</div>
			</div>
			<div class="ribbon-group-sep"></div>
			<div class="ribbon-group">
				<div class="ribbon-toolbar">
					<#--
					<a id="btn_import" href="#" class="easyui-linkbutton" data-options="name:'remove',iconCls:'icon-table-large',plain:true">导入</a><br>
					-->
					<a id="btn_export" href="#" class="easyui-linkbutton" data-options="name:'remove',iconCls:'icon-chart-large',plain:true">导出 </a>
				</div>
				<div class="ribbon-group-title">EXCEL</div>
			</div>
			<div class="ribbon-group-sep"></div>
			<div class="ribbon-group">
				<div class="ribbon-toolbar">
					<a id="btn_unlock" href="#" class="easyui-linkbutton" data-options="name:'unlock',iconCls:'icon-unlock',plain:true">解锁</a><br>
					<a id="btn_lock" href="#" class="easyui-linkbutton" data-options="name:'lock',iconCls:'icon-lock',plain:true">锁定</a>
				</div>
				<div class="ribbon-group-title">数据权限</div>
			</div>
			<div class="ribbon-group-sep"></div>
</form>
		</div>
	</div>
</body>
</html>
</#compress>
</body>
</html>
</#noparse>
</#list>